/*
 ============================================================================
 Name		: ResponseUserScores.h
 Author	  : 
 Version	 : 1.0
 Copyright   :
 Description : CResponseUserScores declaration
 ============================================================================
 */

#ifndef ResponseUserScores_H
#define ResponseUserScores_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include "fWml.h"
#include "ResponseBase.h"

class CResponseSortData;
class CResponseMagazineItemData;

// CLASS DECLARATION

/**
 *  CResponseSort
 *
 */
class CResponseUserScores : public CServerResponseBase
{
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CResponseUserScores();

    /**
     * Two-phased constructor.
     */
    static CResponseUserScores* NewL();

    /**
     * Two-phased constructor.
     */
    static CResponseUserScores* NewLC();

private:

    /**
     * Constructor for performing 1st stage construction
     */
    CResponseUserScores();

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();
protected:
    /**
     *  from CServerResponseBase
     */
    void LoadValidResponseFromXmlNode(CElement* elementResponse);
public:
    int _cost_score;
    int _rank_score;
};

#endif // ResponseUserScores_H
